﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EnvioCorreoPanel.ascx.cs"
 Inherits="UILGestion.Control.EnvioCorreoPanel" %>

<%@ Register Assembly="CustomControls" Namespace="CustomControls" TagPrefix="cc2" %>
<%@ Register Assembly="SesarchResultLib" Namespace="SesarchResultLib" TagPrefix="cc1" %>

<link href="../css/main.css" rel="stylesheet" type="text/css" />

 
       <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<script src="../Scripts/AgrupadoReUsoECItem.js" type="text/javascript"></script>


           
               <asp:Panel ID="Panel1" runat="server" CssClass="Heading secTitle AreaHeading ms-crm-List-Header " >
              Envio de Correo
                </asp:Panel>
              
                <asp:Panel ID="REUSOPanel" runat="server"    Width="600px"     class="ms-crm-Form-Body"  >

        
            
            <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0"  Width="100%" >
            <asp:TabPanel ID="TabPanel1" runat="server" HeaderText="Destinatarios">
            <ContentTemplate>
            <table width="100%">
            <tr>
            <td width="75px">Origen: </td>
            <td>
                <asp:Label ID="origenLabel" runat="server" Text=""></asp:Label>
                
            </td>
            </tr>

            <tr>
                
            <td width="75px">Destinatario: </td>
            <td>
                
                <cc1:Input ID="DestinatarioTxt" runat="server"   
                     DataType="List" method="GetSearchEmail"  numColum="1"
                     
                     Width="160px" Font-Size="Small" /> (correo de Contacto)
            </td>
            </tr>
            <tr>
            <td width="75px">Copia a: </td>
            <td>
                
                <cc1:Input ID="copiaDestinatarios1Txt" runat="server"     
                     DataType="List" method="GetSearchEmail"  numColum="1"
                     
                     Width="160px" Font-Size="Small" /> 
            </td>
            </tr>

             <tr>
            <td width="75px">Copia a: </td>
            <td>
                
                <cc1:Input ID="copiaDestinatarios2Txt" runat="server"     
                     DataType="List" method="GetSearchEmail"  numColum="1"
                     
                     Width="160px" Font-Size="Small" /> 
            </td>
            </tr>


             <tr>
            <td width="75px">Copia a: </td>
            <td>
                
                <cc1:Input ID="copiaDestinatarios3Txt" runat="server"     
                     DataType="List" method="GetSearchEmail"  numColum="1"
                     
                     Width="160px" Font-Size="Small" /> 
            </td>
            </tr>

             <tr>
            <td width="75px">Copia a:</td>
            <td>
                
                <cc1:Input ID="copiaDestinatarios4Txt" runat="server"     
                     DataType="List" method="GetSearchEmail"  numColum="1"
                     
                     Width="160px" Font-Size="Small" /> 
            </td>
            </tr>
            </table>
            </ContentTemplate>
            </asp:TabPanel>
                <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="Mensaje">
                  <ContentTemplate>
                 <table width="100%">
                             <tr>
                             <td width="75px">Asunto:</td>
                             <td ><asp:TextBox ID="asuntoTextBox" runat="server"  Width="100%" ></asp:TextBox>
                             </td>
                             </tr>
                             <tr><td  width="75px" valign="top">Mensaje:</td>
                             <td><asp:TextBox 
                            ID="mensajeTextBox" runat="server" TextMode="MultiLine" Height="290px"   Width="100%"
                            >
                            </asp:TextBox>
                            </td>
                            </tr>

                 </table>
                </ContentTemplate>
             </asp:TabPanel>
             
               <asp:TabPanel ID="TabPanel3" runat="server" HeaderText="Adjunto">
                  <ContentTemplate>
                 <table width="100%">
                             <tr>
                             <td width="75px">Archivo:</td>
                             <td >
                                 
                                   <asp:LinkButton runat= "server"  ID="ArchivoLinkButton"   OnClick="view_Archivo" ForeColor="Blue">
                                   </asp:LinkButton>
                             </td>
                             </tr>
                             

                 </table>
                </ContentTemplate>
             </asp:TabPanel>

             </asp:TabContainer>

   
 

<%--
   
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="TabContainer2$recursosTabPanel$AgruparRecursoButton" />
<asp:AsyncPostBackTrigger ControlID="finalizarAgrupadoButton" />
<asp:AsyncPostBackTrigger ControlID="aceptarAddButton" />

</Triggers>
               </asp:UpdatePanel>--%>
         </asp:Panel>